﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LotteryVote.Entity
{
    /// <summary>
    /// 跌水
    /// </summary>
    public class DropWater : IEntity
    {
        public const string TABLENAME = "tb_DropWater";
        public const string DROPID = "DropId";
        public const string NUM = "Num";
        public const string GAMEPLAYWAYID = "GamePlayWayId";
        public const string DROPVALUE = "DropValue";
        public const string DROPTYPE = "DropType";
        public const string AMOUNT = "Amount";
        public const string CREATETIME = "CreateTime";

        public int DropId { get; set; }
        /// <summary>
        /// 跌水的号码.
        /// </summary>
        /// <value>
        /// The num.
        /// </value>
        public string Num { get; set; }
        /// <summary>
        /// 相关玩法.
        /// </summary>
        /// <value>
        /// The game play way id.
        /// </value>
        public int GamePlayWayId { get; set; }
        /// <summary>
        /// 具体跌水值.
        /// </summary>
        /// <value>
        /// The drop value.
        /// </value>
        public double DropValue { get; set; }
        /// <summary>
        /// 跌水类型.
        /// </summary>
        /// <value>
        /// The type of the drop.
        /// </value>
        public DropType DropType { get; set; }
        /// <summary>
        /// 跌水金额，也就是当下注金额（全局）大于该金额时，佣金跌水值增加本跌水值.
        /// </summary>
        /// <value>
        /// The amount.
        /// </value>
        public decimal Amount { get; set; }
        public int CompanyId { get; set; }
        public DateTime CreateTime { get; set; }
    }
}
